package com.elm.service;

import java.util.List;

import com.elm.po.Food;

public interface FoodService {

	public List<Food> getFoodByBusinessId(int businessId);
	
	
	//admin专属操作
	public List<Food> getAllReviewingFood(); 		//获取所有未审核food
	
	
	
	
	//商家boss专属操作
	public Food updateFoodInfo(Food food); 		//传来的food类可以包含修改food信息的操作，也可以是对food售罄或要删除时修改status的操作
	
	public int createFood(Food food);			//新增food
	
	//商家staff
	public Food updateFoodStatus(Integer foodId, String status);		//staff仅能修改food是否售罄

	public Food getFoodByNameByBusiness(String foodName, Integer id);


	public List<Food> getAllFoodByOrder(Integer order);


	public Food getFoodById(int id);


} 